package com.liam.lotterysystem.controller.param;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author: LiamLMK
 * @CreateTime: 2024-10-11
 * @Description:
 * @Version: 1.0
 */

@Data
public class UserRegisterParam implements Serializable {

    // 姓名
    @NotBlank(message = "姓名不能为空") // @NotBlank - String
    private String name;

    @NotBlank(message = "邮箱不能为空")
    // 邮箱
    private String mail;

    // 电话
    private String phoneNumber;

    // 密码
//    @NotBlank(message = "密码不能为空")
    private String password;

    // 身份
    @NotBlank(message = "身份信息不能为空")
    private String identity;

}
